<?php
require 'lib/LESSPHP/PreProcessor.php';
require 'lib/LESSPHP/Writer/Simple.php';

$pp = new LESSPHP_PreProcessor();

$pp->addPlugin('BasicCss');
$pp->addPlugin('Variables');
$pp->addPlugin('Mixins');

$writer = new LESSPHP_Writer_Simple();
$pp->setWriter($writer);


$css = $pp->processFile('style.css');
header('Content-Type: text/css');
echo $css;